/**
 * 
 */
package com.ai.dmc.utils.entity.exportformExhibition;

import java.io.Serializable;
import java.util.List;


/**
 * Title： 自定义树形结构 
 * Description： 
 * Copyright：Copyright (c) 2009
 * Company：亚信科技（中国）有限公司
 * @author liuyt, 2015年10月14日
 * @version 1.0
 */
@SuppressWarnings("serial")
public class TreeBean implements Serializable {
    //标识 
    private String id;
    //父id
    private String parentId;
    //树节点名称
    private String text;
    //树节点是否被选中
    private Boolean checked;
    //基本属性:下钻,是否锁定
    private Attributes attributes;
    //子节点
    private List<TreeBean> children;
    
    private class Attributes{
        @SuppressWarnings("unused")
		public String drill;
        @SuppressWarnings("unused")
		public Boolean locked;
        
        @SuppressWarnings("unused")
		public Attributes(String drill,Boolean locked){
            this.drill = drill;
            this.locked = locked;
        }
    }

    
    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    
    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    
    /**
     * @return the parentId
     */
    public String getParentId() {
        return parentId;
    }

    
    /**
     * @param parentId the parentId to set
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    
    /**
     * @return the text
     */
    public String getText() {
        return text;
    }

    
    /**
     * @param text the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    
    /**
     * @return the checked
     */
    public Boolean getChecked() {
        return checked;
    }

    
    /**
     * @param checked the checked to set
     */
    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    
    /**
     * @return the attributes
     */
    public Attributes getAttributes() {
        return attributes;
    }

    
    /**
     * @param attributes the attributes to set
     */
    public void setAttributes(Attributes attributes) {
        this.attributes = attributes;
    }

    
    /**
     * @return the children
     */
    public List<TreeBean> getChildren() {
        return children;
    }

    
    /**
     * @param children the children to set
     */
    public void setChildren(List<TreeBean> children) {
        this.children = children;
    }
    
    
}
